package com.kfm.hotel.mapper;

import com.kfm.hotel.pojo.Room;
import com.kfm.hotel.pojo.RoomDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoomMapper {

    List<Room> selectAll(Room room);

    int insertRoom(Room room);

    int update(Room room);

    List<RoomDTO> selectWithRoomType();

}
